<?php

if (!isset($model)) {
    $model = Inflector::classify($this->name);
}
echo $html->link('Cancel', array('controller' => 'delivery_requests', 'controller' => isset($controller) ? $controller : null, 'action' => isset($action) ? $action : 'view', $this->data[$model]['id'], 'cancel:true'), array('class' => 'button requestCancel', 'title' => 'Cancel'), null, false);
